<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="../layui/css/layui.css">
    <script src="../layui/layui.js"></script>
    <style type="text/css">
    body{
    	background-image: url(../layui/images/3.jpg);
    	background-attachment:fixed;
    	background-size: cover;
    }
   .title{
   	 text-align: center;
   	 font-size: 25px;
   	 margin-bottom: 20px;
	}
	.content-form{
		width: 400px;
	/*	margin: 0 auto;*/
	}
	.content{
	
		background-image: url(../layui/images/1.jpg);
       background-attachment: fixed;
       background-size: cover;
       background-repeat: no-repeat;
       background-position: center;
       width: 500px;
       margin:100px auto;
	}

    </style>

</head>
<body>
   <div class="content">
     <h1 class="title">Admin后台登入</h1>
    <div class="content-form">
     <form class="layui-form" action="/admin/login.php" method="post">
		  <div class="layui-form-item">
		    <label class="layui-form-label">用户名</label>
		    <div class="layui-input-block">
		      <input type="text" name="username" lay-verify="required|username" autocomplete="off" placeholder="请填写用户名" class="layui-input">
		    </div>
		  </div>
		  <div class="layui-form-item">
		    <label class="layui-form-label">密码</label>
		    <div class="layui-input-block">
		      <input type="password" name="password" lay-verify="required|pass" placeholder="请输入" autocomplete="off" class="layui-input">
		    </div>
		  </div>
		  <div class="layui-form-item">
		    <div class="layui-input-block">
		      <button class="layui-btn" lay-submit="" lay-filter="demo1">登入</button>
		      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		  </div>	  
     </form>
    </div>
   </div>
</body>
</html>
<script src="../layui/layui.js"></script>
<script>


layui.use(['form', 'layedit', 'laydate', 'jquery'], function(){
  	var form = layui.form()
  	,layer = layui.layer
  	,layedit = layui.layedit
  	,laydate = layui.laydate
  	// ,$ = layui.jquery;
  

	  
  
});
</script>